package com.linkq.ipinyin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linkq.ipinyin.dao.TextDao;
import com.linkq.ipinyin.model.Text;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

@Mapper
public interface TextMapper extends BaseMapper<Text> {
    @SelectProvider(method = "queryBcTextAndFile", type = TextDao.class)
    List<Text> queryBcTextAndFile(Text text);

}
